<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/11/15 0015
  Time: 下午 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <jsp:include page="${pageContext.request.contextPath }/resource_path.jsp" flush="true"/>
    <style type="text/css">
        .locaDiv{
            width:80%;
            margin:auto;
        }
        .locaDivChild {
            width: 60px;
            height: 60px;
            margin: 10px 5px 0 5px;
            display: inline-block;
            color: #FFF;
            font-size:10px;
            text-align: center;
        }
        .locaDivChild p{
            width: 60px;
            margin-top:20px;
            word-wrap:break-word;
            word-break:break-all;
            overflow: hidden;
        }
        .my-skin{
            background-color: #FFF;
        }
        .box{
            margin:0 20px 10px 20px;
            font-size:14px;
            line-height:30px;
            vertical-align: middle;
        }
        .header{
            width:80%;
            margin:auto;
            margin-top: 20px;
        }
        .green{
            background-color:#32CD32;
        }
        .yellow{
            background-color:#FFA500;
        }
    </style>
</head>
<body class="layui-anim layui-anim-up">

<div class="box">
    <p>库位名称：${warehouseRegionLocation.location_name }</p>
    <p>库位编码：${warehouseRegionLocation.location_num }</p>
    <p>库位总库存：${warehouseRegionLocation.total_capacity }</p>
    <p>库位总重量：${warehouseRegionLocation.remark }</p>
    <p>库位条码总数：${warehouseRegionLocation.cnum }</p>
    <p>所属库区：${warehouseRegionLocation.region_name }</p>
    <p>物料：</p>
    <table class="layui-table">
        <thead>
        <tr>
            <th>SAP/QAD</th>
            <th>物料名称</th>
            <th>物料条码</th>
            <th>物料数量</th>
            <th>物料重量</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${materielList }" var="wrl2">
            <tr>
                <td>${wrl2.materiel_num }</td>
                <td>${wrl2.materiel_name }</td>
                <td><c:out value="${wrl2.code_rule}" escapeXml="true"></c:out></td>
                <td>${wrl2.unit }</td>
                <td>${wrl2.totalWeight }</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>

</body>
</html>
